package com.aj.http.response;

import org.json.JSONException;
import org.json.JSONObject;

public class UploadPhotoResponse extends BaseRespond {

	private String photoUrl;

	public UploadPhotoResponse(JSONObject json) {
		super(json);
		if (common != null && common.getResult() != null) {
			if (!common.getResult().isNull("picPath")) {
				try {
					photoUrl = common.getResult().getString("picPath");
				} catch (JSONException e) {
					e.printStackTrace();
				}
			}
		}
	}

	public String getPhotoUrl() {
		return photoUrl;
	}

	public void setPhotoUrl(String photoUrl) {
		this.photoUrl = photoUrl;
	}

}
